package forList;

import java.util.Vector;

public class VectorTest {

    public static void main(String[] args) {

        Vector<Object> vector = new Vector<>();
        for (int i = 1; i <= 10; i++) {
            vector.add(i);
        }
        // 无参第一次扩容
        vector.add(11);
    }

}
